package com.gxa.zhonglong.mapper;

import com.gxa.zhonglong.exception.BusinessException;
import com.gxa.zhonglong.pojo.GoodsPrice;
import com.gxa.zhonglong.pojo.GoodsType;

import java.util.List;

/**
 * @author NITRO
 */
public interface GoodsTypeMapper {

    Boolean add(GoodsType goodsType)throws BusinessException;

    int delete(List<Long> ids)throws BusinessException;

    Boolean update(GoodsType goodsType)throws BusinessException;

    List<GoodsType> select();

    GoodsType selectByCode(String code);

}
